package com.quanyan.place.service.impl;

import com.quanyan.api.APIResponse;
import com.quanyan.place.entity.UserDemo;
import com.quanyan.place.mapper.UserMapper;
import com.quanyan.place.service.DemoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author songzj
 * @date 16/4/11-14:42
 */

@Service("demoService")
public class DemoServiceImpl implements DemoService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public APIResponse registerUser(UserDemo userDemo) {
        //todo something.
       return APIResponse.returnSuccess(userDemo);
    }
}
